]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lint: Drop extra ignored nodes in legacy config
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 12 Sep 2019 22:40:24 +0000 (00:40 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Sun, 15 Sep 2019 13:30:19 +0000 (13:30 +0000)
They didn't just allow for the style patterns they were added to,
but allowed for some messed up indentation to slip through. Now
that we adapted the code to not use the old style, it's time to
drop the exceptions.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/725

lint/eslintrc-legacy.json

index 462607e4ecf17485d24e7f8c049734855356b218..e49d5c63a2801185107f3a81cc3e36a2feef9ca9 100644 (file)
@@ -5,8 +5,6 @@
             4,
             {
                 "ignoredNodes": [
-                    "ConditionalExpression",
-                    "CallExpression > ArrowFunctionExpression",
                     "CallExpression[callee.object.name=GObject][callee.property.name=registerClass] > ClassExpression:first-child"
                 ],
                 "CallExpression": { "arguments": "first" },